import Home from '../views/Home.vue'
import Center from '../views/Center.vue'
import UserAdd from '../views/User/UserAdd.vue'
import UserList from '../views/User/UserList.vue'
import NewsAdd from '../views/News/NewsAdd.vue'
import NewsList from '../views/News/NewsList.vue'
import ProductAdd from '../views/Product/ProductAdd.vue'
import ProductList from '../views/Product/ProductList.vue'
const routersConfig=[
    {
        path: '/home',
        name: 'home',
        component: Home
      },
      {
        path: '/center',
        name: 'center',
        component: Center
      },
    {
        path:'/User/useradd',
        name:'useradd',
        component:UserAdd
    },
    
    {
        path:'/User/userlist',
        name:'userlist',
        component:UserList
    },
    {
        path:'/News/newsadd',
        name:'newsadd',
        component:NewsAdd
    },
    {
        path:'/News/newslist',
        name:'newslist',
        component:NewsList
    },
    {
        path:'/Product/productadd',
        name:'productadd',
        component:ProductAdd
    },
    {
        path:'/Product/productlist',
        name:'productlist',
        component:ProductList
    },
    
    
]
export default routersConfig